import Vue from 'vue'
import Vuex from 'vuex'

Vue.use(Vuex)

const store = new Vuex.Store({
  state: {
    radiovalue: '-1'
  },
  mutations: {
    change (state, data) {
      state.radiovalue = data
    }
  },
  getters: {

  },
  actions: {
    change ({commit}, data) {
      commit('change', data)
    }
  }
})

export default store
